<template>
  <el-dialog :visible.sync="value"
             width="30%"
             :before-close="close"
             >
    <img :src="imgContent.img"
          style="width:100%"
         alt="">
  </el-dialog>
</template>
<script>
export default {
  props: {
    imgContent: Object,
    dialogVisible: Object,
    value: {
      type: Boolean
    }
  },
  methods: {
    close() {
      this.$emit("input", false);
    }
  }
};
</script>
